package com.wing.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.product.model.entity.ProductPackLabelDetail;
import com.wing.product.model.request.ProductPackLabelDetailForm;
import com.wing.product.model.response.ProductPackLabelDetailVO;

import java.util.List;
import java.util.Map;

/**
 * 产品包装条码-Service
 *
 * @author
 */
public interface ProductPackLabelDetailService extends IService<ProductPackLabelDetail> {

    /**
     * 添加
     *
     * @param productPackLabelDetailForm
     * @return
     */
    int add(ProductPackLabelDetailForm productPackLabelDetailForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<ProductPackLabelDetailVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<ProductPackLabelDetailVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    ProductPackLabelDetailVO get4appById(Long id);

    List<ProductPackLabelDetailVO> getPackLabelDetaiListByJobId(Long jobId);

    Map<String,Object> savePackLabelInfo(ProductPackLabelDetailForm productPackLabelDetailForm);
}
